# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy

class qidianItem(scrapy.Item):
    book_name = scrapy.Field()
    author= scrapy.Field()
    categories= scrapy.Field()
    intro= scrapy.Field()
    latest_chapter= scrapy.Field()
    update_time= scrapy.Field()

class jingdongItem(scrapy.Item):
    sequence = scrapy.Field()
    discount = scrapy.Field()
    publisher = scrapy.Field()
    sellPrice = scrapy.Field()
    definePrice = scrapy.Field()
    bookName = scrapy.Field()
    authors = scrapy.Field()
    bookId = scrapy.Field()

class dangdangItem(scrapy.Item):
    book_name = scrapy.Field()
    authors = scrapy.Field()
    publisher = scrapy.Field()
    publish_date = scrapy.Field()
    sell_price = scrapy.Field()
    define_price = scrapy.Field()
    discount = scrapy.Field()
    comments = scrapy.Field()
    recommend_percentage = scrapy.Field()

class jinjiangItem(scrapy.Item):
    serial_number = scrapy.Field()  # 序 号
    author = scrapy.Field()  # 作者
    title = scrapy.Field()  # 作品
    category = scrapy.Field()  # 类型
    progress = scrapy.Field()  # 进度
    word_count = scrapy.Field()  # 字数
    work_points = scrapy.Field()  # 作品积分
    publish_time = scrapy.Field()  # 发表时间

class fanqieItem(scrapy.Item):
    rank = scrapy.Field()
    title = scrapy.Field()
    author = scrapy.Field()
    abstract = scrapy.Field()
    creation_status = scrapy.Field()
    read_count = scrapy.Field()
    genres = scrapy.Field()
    word_count = scrapy.Field()
    last_update_title = scrapy.Field()
    last_update_time = scrapy.Field()
    word_count = scrapy.Field()

class zonghengItem(scrapy.Item):
    # author_id = scrapy.Field()
    # category_id = scrapy.Field()
    category_name = scrapy.Field()
    # book_id = scrapy.Field()
    book_name = scrapy.Field()
    # book_cover = scrapy.Field()
    description = scrapy.Field()
    author_name = scrapy.Field()
    latest_chapter_time = scrapy.Field()
    latest_chapter_name = scrapy.Field()
    # serial_status = scrapy.Field()
    yuepiao_num = scrapy.Field()

class cmreadItem(scrapy.Item):
    # 书籍基本信息
    book_name = scrapy.Field()
    book_description = scrapy.Field()
    # book_cover = scrapy.Field()
    book_category = scrapy.Field()
    book_finished = scrapy.Field()
    # click_value = scrapy.Field()
    # rank_change = scrapy.Field()
    # book_url = scrapy.Field()
    total_chapter_num = scrapy.Field()

    # 作者信息
    author_name = scrapy.Field()
    # author_detail_url = scrapy.Field()
    # is_author = scrapy.Field()

class wereadItem(scrapy.Item):
    rank = scrapy.Field()
    book_name = scrapy.Field()
    author = scrapy.Field()
    # book_cover = scrapy.Field()
    today_read_count = scrapy.Field()
    recommend_percent = scrapy.Field()
    book_description = scrapy.Field()
    # book_url = scrapy.Field()
    pass

class Demo2Item(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass
